Simulation-based Inference in Econometrics: Methods and Applications