Optimal coordination in Minority Game: A solution from reinforcement learning