N-Wave Equations with Orthogonal Algebras: Z 2 and Z 2 Z 2 Reduction