Enhancement of charging and discharging rates for partially insulated MgB2 magnets composed of Cr-coated MgB2 superconducting wires