Embedding of Mg-doped V2O5 nanoparticles in a carbon matrix to improve their electrochemical properties for high-energy rechargeable lithium batteries