Numerical approximation of heart electromechanics