Group IV mid-infrared devices for sensing