Simultaneous inversion for temperature and water vapor from IMG radiances