Synthesis and Characterization of Calcium Phosphate Compounds with Strontium and Magnesium Ionic Substitutions