Design and synthesis of multiroom-structured metal compounds–carbon hybrid microspheres as anode materials for rechargeable batteries