Anomalous tunable visible to near infrared emission in the Mn2+-doped spinel MgGa2O4 and room-temperature upconversion in the Mn2+ and Yb3+-codoped spinel