Antecedents and consequences of social and physical pain