A model for laterally graded Cu2S/ZnxCd1-xS photovoltaic heterojunctions