When we stop compartmentalizing our home and work selves, we tend to act more ethically, research finds.