A solar cell that does double duty for renewable energy