Crystal structures and magnetic and luminescent properties of a series of homodinuclear lanthanide complexes with 4-cyanobenzoic ligand.