Predictions of arrhythmic, heart failure and mortality outcomes in pericarditis using automatic electrocardiogram analysis