Fast laser-scanning microscopy with single- and multi-photon excitation for functional imaging of living nerve cells