Modal and Temporal Logics