Medications linked to high risk of heart attack in hot weather