Obama appointments to energy, environment posts