Effects of the bottom friction formulation on the energy balance for gravity waves in shallow water | Synapse