'Mammogram for the heart' predicts attacks