Association of Cancer With Outcomes in Patients Hospitalized for Heart Failure.