Solution Processed Trilayer Structure for High-Performance Perovskite Photodetector