Toxins from air pollution are contributing to the deaths of around 40,000 people a year in the UK, a landmark study has found.