Which two things can affect the density of the air?