Conditional Stability of Solitary-Wave Solutions for Generalized Compound KdV Equation and Generalized Compound KdV-Burgers Equation