Predicting cardiac adverse events in patients receiving immune checkpoint inhibitors: a machine learning approach