Estimating the occurrence of slow slip events and earthquakes with an ensemble Kalman filter