Magnetic properties of molecular compounds based on a new polydentate ligand