Wind turbine and farm control via reinforcement learning