Dimeric Mn(ii), Co(ii), Ni(ii) and Cu(ii) complexes of a common carboxylate-appended (2-pyridyl)alkylamine ligand: structure, magnetism and DFT study