Infrared behavior of closed superstrings in strong magnetic and gravitational fields