Magnetic field simulation and harmonic analysis of CSNS/RCS quadrupole prototypes