Dynamic factor analysis with nonlinear temporal aggregation constraints