Sequential Classification-Based Optimization for Direct Policy Search