Metal(II) complexes based on 1,4-bis(3-pyridylaminomethyl)benzene: structures, photoluminescence and photocatalytic properties.