Structural and electronic properties of SrxBa1−xSnO3 from first principles calculations