Studies on the fluxpinning properties of MgB2 superconductor by chemical doping and ion implantation for high-field magnet applications