The electronic structures of magnesium-bearing anosovite (MgnTi3−nO5 0 ≤ n ≤ 1) and its response to flotation