emotions evolved to aid the survival of animals in a dangerous world