Structural, electronic, optical and thermodynamic properties of SrxCa1−xO, BaxSr1−xO and BaxCa1−xO alloys