Characterization of sputtered CdSe thin films as the window layer for CdTe solar cells