Second-order moving average and scaling of stochastic time series