Breaking of adiabatic invariance in the creation of particles by electromagnetic backgrounds