Substitution of sulfate in apatite