Dipole fluctuations and the duration of geomagnetic polarity transitions