Exploration of impact of Cr-doping on physical and optical properties of CdS thin films in hybrid photovoltaic cells