The company’s spyware, dubbed Graphite, is capable of hacking phones and stealing private communications.