Near-inertial waves in oceanic fronts : from generation to dissipation