Rucks and folds: delamination from a flat rigid substrate under uniaxial compression