A new study looks at how finding meaning in work helps us both financially and emotionally.