Simultaneous estimation of covariance inflation and observation errors within an ensemble Kalman filter