Design of task-specific optical systems using broadband diffractive neural networks