Gaussian-process factor analysis for low-dimensional single-trial analysis of neural population activity