Conservation of energy for schemes applied to the propagation of shallow‐water inertia‐gravity waves in regions with varying depth