How shared humor improves mental well-being