University of Michigan designs photodetector inspired by photosynthesis