Comparison of homotopy analysis method and homotopy perturbation method through an evolution equation