Optogenetics and Computer Vision for C. elegans Neuroscience and Other Biophysical Applications