Nonlinear stability of periodic-wave solutions for systems of dispersive equations