Ab initio calculations of fundamental properties of SrTe1−xOx alloys