U.S., South Korea reach military cost-sharing agreement