Measurement of diffraction dissociation cross sections in pp collisions at sqrt(s) = 7 TeV