Fast radio burst dispersion measures and rotation measures and the origin of intergalactic magnetic fields