Local smoothing regression with functional data