Quasi-conservative formulation of the one dimensional Saint Venant-Exner model