Scattering theory in the energy space for a class of non-linear wave equations