Modelling the dual role of Per phosphorylation and its effect on the period and phase of the mammalian circadian clock.