Modelling the scaling properties of human mobility