Characterization of thin film n-CdS/p-CuGa0.5In0.5Se2 heterojunctions