Efficient space heating, cooling, ventilation, lighting systems and domestic appliances, and integration of renewables into buildings