Nonlinear propagation of four components with different polarizations and frequencies in a single optical pulse by using a five-level atomic system