Phase transformations and volume changes in spinel LixMn2O4