Robustness of Temporal Logics with Applications to Safe Autonomy