Second-order perturbations of cosmological fluids : Relativistic effects of pressure, multicomponent, curvature, and rotation