Atom interferometry and the gravitational redshift