A Highly Sensitive Narrowband Nanocomposite Photodetector with Gain