Decision-making and control with diffractive optical networks