Nonlinear Functional Output Regression: a Dictionary Approach