As the atomic number of halogens increases