Analytical solution of the Korteweg–de Vries equation and microtubule equation using the first integral method