Mid-infrared characterization of NbTiN superconducting nanowire single-photon detectors on silicon-on-insulator