Here's what research says about the benefits and drawbacks of sleeping alongside your kids and partners.