Frequency-resolved spatial beam mapping in multimode fibers: application to mid-infrared supercontinuum generation.