Studying the structural, optical spectroscopic ellipsometry and electrical properties of variable-CdS thickness/CdTe for solar cell applications