From Simple to Sophisticated: The Organization of Terrorist Groups