Mapping the interstellar dust with near-infrared observations: An optimized multi-band technique