From Mn3O4/MnO core–shell nanoparticles to hollow MnO: evolution of magnetic properties