UK ports ‘are open to terrorists’