Understanding the mechanics of dynamic rope brakes