New photodetector design inspired by plant photosynthesis