Coordination polymers of flexible tetracarboxylic acids with metal ions. I. Synthesis of CH2- and (CH2)2-spaced bis(oxy)isophthalic acid ligands, and structural characterization of their polymeric adducts with lanthanoid ions