Non-tidal changes in the Earth's rate of rotation as deduced from medieval eclipse observations