Excitation of molecular rotation by periodic microwave pulses. A testing ground for Anderson localization