Self-filtering narrowband perovskite photodetector with ultra-narrowband and high spectral rejection ratio