Modelling the dynamics of support for a right-wing populist party: the case of UKIP