The principles of various photovoltaic cells