The longer people breathe polluted air, the greater the potential impact on the heart, new research suggests.