Schemes with well-controlled dissipation. Hyperbolic systems in nonconservative form