Wave propagation in infinite and finite chains of weakly nonlinear oscillators