Estimation of the memory parameter by fitting fractionally differenced autoregressive models