Influence of alanyl ester residues on the binding of magnesium ions to teichoic acids.