Studies on synthesis and infrared and fluorescence spectra of new europium and terbium complexes with an amide-based open-chain crown ether.