Squarefree lexsegment ideals with linear resolution