Ab initio calculations of the structural, electronic, thermodynamic and thermal properties of BaSe1−xTex alloys