Bacterial electrophysiology, collective dynamics and their implications for biotechnology and synthetic biology.