Solution and Maximum Likelihood Estimation of Dynamic Nonlinear Rationalexpectations Models