Comparative Analysis of Profile Evolution of an Elastic Harmonic Wave Caused by the Second and Third Harmonics Generation