Optical probing of neuronal ensemble activity