Narrowband and Broadband Dual‐Mode Perovskite Photodetector for RGB Detection Application