Application of the theory of reversible discontinuities to the investigation of equations describing waves in tubes with elastic walls