Electrodeposition of ZnTe for photovoltaic cells