Mid-infrared fiberoptic devices and systems for in vivo medical diagnostics and surgery