The influence of small amounts of magnesium on the formation of calcium phosphates in moderately supersaturated solutions