An ensemble-based data assimilation approach to the simulation and reconstruction of chaotic cardiac states