Harlan Ellison wrote Star Trek’s greatest episode. He hated it.