Scientists create smart windows that actually generate electricity