Magnetic anisotropy of layered metal complexes with 3-imidazoline nitroxides