Improved kinetics and stabilities in Mg-substituted LiMnPO4