Study on structural, optical and electrical properties of CdS0.5Se0.5 thin films for photovoltaic applications