Reversals of the earth's magnetic field: An attempt at a relaxation model