Prediction of the onset of atrial fibrillation after cardiac surgery using the monophasic action potential