UK facing ‘widening gap’ in ability to fight cyber threats, warns top agency