Nonparametric estimation of functional dynamic factor model