Dynamic behaviour of continuous buried pipes subject to earthquakes