Extracting a general iterative method from an Adomian decomposition method and comparing it to the variational iteration method