Compounds having two or more esterified phosphorus acid groups