Distribution of temperature and emission measure in a steadily heated solar atmosphere