Photovoltaic cell n-type and p-type