Crystal Structures, gas storage and magnetic properties of lanthanide-organic frameworks built up from dicarboxylates, [Ln2(2,5-pydc)2(2,5-pipdc)(H2O)2]n (Ln = Ce, Pr, Eu) and (H2pip)n[Ln2(2,6-pydc)4(H2O)2]n (Ln = Ce, Pr, Eu, Sm)