the solar cell converts which energy into electrical energy