Swearing reduces pain but using a taboo hand gesture can brighten your mood, study finds