Federal cybersecurity director quits, complains of NSA role