Modelling phosphorus, carbon and nitrogen dynamics in terrestrial ecosystems.