Transformation behaviour of calcium phosphate 1. Theory and modelling