All-optical interrogation of neural circuits in behaving mice