Beijing's toxic smog was years in the making, had many sources