Study: Apple a day prevents heart attack, stroke