Gravar-mail: Sustainable dual-mode smart windows for energy-efficient buildings