Interactions of calcium phosphates with chitosan