Batch seismic inversion using the iterative ensemble Kalman smoother