Two- and three-dimensional networks of gadolinium(III) with dicarboxylate ligands: synthesis, crystal structure, and magnetic properties.