Gradient flow structure and convergence analysis of the ensemble Kalman inversion for nonlinear forward models. (1st October 2022)