TusoAI: Agentic Optimization for Scientific Methods