Analysis of the effects of climate change on the energy and environmental performance of a building with and without onsite generation from renewable energy