Nonlinear oscillations of completely resonant wave equations