Three-dimensional parametric resonance of fluid-conveying pipes in the pre-buckling and post-buckling states