Environment-Aware Transfer Reinforcement Learning for Sustainable Beam Selection