Windows and glass building facades could one day generate electricity while still allowing people to see through them.