Artists like Turner and Monet painted the smog they saw in London and Paris, a new study says