Geomagnetic Polarity Reversals, Earth'S Core Evolution, And Conditions For Dynamo Action In The Cores Of Terrestrial Exoplanets