SneakyPrompt: Jailbreaking Text-to-image Generative Models