Large-Scale Dynamics in the Mouse Neocortex underlying Sensory Discrimination and Short-Term Memory