Risk of heart attack spikes after bouts of flu and pneumonia