DiffusionDB: A Large-scale Prompt Gallery Dataset for Text-to-Image Generative Models