Role of Ag1+ substitutional defects on the electronic and optical properties of n-type CdS thin films semiconductor for sustainable and stable window layer in solar cells technology