Average remaining lifetimes can increase as human populations age