Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models