Tricking LLMs into Disobedience: Understanding, Analyzing, and Preventing Jailbreaks