Research suggests there could be benefits to swearing, from dulling pain to suggesting trust in social situations