US executions evolved from hanging to injection