The effect of magnetic field errors on the radiation spectrum of ELETTRA undulators