Ionization of Rydberg atoms by short electromagnetic pulses