Shelf seas baroclinic energy loss: pycnocline mixing and bottom boundary layer dissipation