Infrared observations of eight X-ray sources from Galactic plane surveys