FineDiffusion: Scaling up Diffusion Models for Fine-grained Image Generation with 10,000 Classes