Electrochemical insertion of magnesium ions into V2O5 from aprotic electrolytes with varied water content.