Photovoltaic cell including capping layer