Solar-powered smart windows could save energy and power IoT devices