UK national security 'in peril,' warns ex-NATO chief