An infrared determination of the reddening and distance to dwingeloo 1