Low-dimensional models of neural population activity in sensory cortical circuits