Boundary layer mechanisms in extratropical cyclones