Thermodynamics of the formation of the 1:1 complexes of nitrilotriacetic acid and rare earth ions