Two-time scale learning automata: an efficient decision making mechanism for stochastic nonlinear resource allocation