Inference for Two-Stage Extremum Estimators