Non-smooth dynamics of articulated pipe conveying fluid subjected to a one-sided rigid stop