Why rejection hurts and how to deal with it