Probabilistic function-on-function nonlinear autoregressive model for emulation and reliability analysis of dynamical systems