A new study has linked pollutants and poverty with changed in the ratio of boys and girls born to millions of parents.