Synthesis, Band and Crystal Structures, and Optical Properties of the Ternary Compound Mg2Te3O8