Connection between the infinite sequence of Lie–Bäcklund symmetries of the Korteweg–de Vries and sine‐Gordon equations