Hubble Space Telescope in safe mode after software glitch