Identification and Inference in Nonlinear Difference-In-Differences Models