Application of sustainable technologies in the future of historic buildings: electrochromic glass