Adptive spectral estimation by the conjugate gradient method