From Temporal Logics To Automata Via Alternation Elimination