Photovoltaics and Net Zero Energy Buildings: new concepts towards a smart city vision