On the evolutionary origin of aging