Patients with cancer are more at risk of complications following heart procedure, study finds