Identical twins have more similar sleep patterns than do fraternal twins, and North Americans are averaging less sleep than their counterparts of a century ago. These facts best illustrate that sleep patterns are affected by both _______.