Air pollution cuts the average lifespan of people around the globe by almost two years, analysis shows, making it the single greatest threat to human health.