A discrete autoregressive process as a model for short-range correlations in DNA sequences