Why people gain weight as they get older