Fast and Robust Simulation-Based Inference With Optimization Monte Carlo