What components are needed for solar cells to generate electricity