Retrieval of atmospheric temperature and composition from remote sounding measurements