Optimization of the Configuration of Photovoltaic and Solar Thermal Collectors in a Nearly Zero Energy Building