Wave breaking and asymptotic analysis of solutions for a class of weakly dissipative nonlinear wave equations