Infrared imaging polarimetry of galaxies