Variational retrieval of temperature and humidity profiles from TRMM precipitation data