A study finds that city life—all that damn density—makes people, um, dense.