Crystal Structures and Electrical and Optical Properties of MgIn2−xGaxO4Solid Solutions