On the refraction and dispersion of air, oxygen, nitrogen, and hydrogen, and their relations