Investigations of the structural, optical properties and electronic structure of CdTe1−xSex films fabricated by RF magnetron sputtering