Structure–activity studies of ferroelectric and antiferroelectric imine ligands and their square-planar complexes