DFT and experimental investigations on CdTe1-xSex for thermoelectric and optoelectronic applications