There’s a reason companies like Google and Facebook offer their employees so many perks, according to new research: firms that treat workers better are more innovative.