Investigation of electromagnetic field perturbation with respect to mechanical imperfections in radio-frequency quadrupole (RFQ) structure