Photovoltaic characterization of amorphous hydrogenated and chlorinated silicon films