Dynamic Commitment Problems and Military Effectiveness: Resolve, Adaptation, and Flexibility in the Use of Force