Geomagnetic field intensity and reversals during the past four million years