The Cost of Security: Foreign Policy Concessions and Military Alliances