The impact of failures and successes on affect and self-esteem in young and older adults