Finite element modeling of cardiac tissue in heart-on-a-chip systems