Recursive estimation of a locally stationary process