NSA leaks playing into the hands of terrorists - UK intelligence chief