Synthesis and Mg2+ deintercalation in manganese spinel nanocrystals