On the buckling and collapse of moderately thick composite cylinders under hydrostatic pressure