Effect of Elastic Foundations on Divergence and Flutter of an Articulated Pipe Conveying Fluid