Nearly half of waste is now burned for energy, but BBC analysis finds it is as dirty as coal.