Synthesis of Eu(III) and Tb(III) complexes with novel pyridine dicarboxamide derivatives and their luminescence properties.