Acoustic damping in smooth and corrugated pipes with and without liquid injection