DiLightNet: Fine-grained Lighting Control for Diffusion-based Image Generation