The prolific TV maestro co-created "Cheers" and shaped the modern half-hour comedy as we know it