Introduction to the working principle of solar cells