Nonlinear multi-study factor analysis