Efficiency in functional nonparametric models withautoregressive errors