CeO2 nanorods anchored on mesoporous carbon as an efficient catalyst for imine synthesis.