The significant role of ZnSe layer thickness in optimizing the performance of ZnSe/CdTe solar cell for optoelectronic applications