Culturing photosynthetic bacteria through surface plasmon resonance