British PM signs security pacts with Sweden and Finland