Influential role of CdS film thickness in improving CdS/CdTe junction performance for solar cells: structural, optical, and electrical characterizations