Timed Automata and Logics for Real-Time Systems