Narrowband Near-Infrared Photodetectors Based on Perovskite Waveguide Devices.