Charging and discharging of defect states in CIGS/ZnO junctions