Gates said technology companies should be forced to co-operate with law enforcement in terrorism investigations