Spies are more akin to great psychiatrists than action heroes. But the tactics that they use are very useful—and fascinating.