Structural and electrical properties of Mg2TiO4