Infrared–red cores in nearby elliptical galaxies