Britain boosts Ukraine funding, signs security pact