Flexible three-color silicon membrane photodetector arrays