Modelling the pole tide and its effect on the Earth's rotation