Germany vows to become ‘guarantor of European security’