A generalized Exner equation for sediment mass balance