Novel Optoelectronic Devices For Mid-Infrared Applications: From Intersubband Thermophotovoltaic Detectors To Germanium Nanomembrane Light Emitters