Query Complexity of Derivative-Free Optimization