Excitation of weakly bound Rydberg electrons by half-cycle pulses