Long-term polarity stability and strength of the geomagnetic dipole