Ultra-Thin Highly Absorbing Medium-Based Optical Nanocavity For Photonic And Optoelectronic Devices.