The Safety Fragment of Temporal Logics on Infinite Sequences