Data suggests the push to return to the office has led to a drop in productivity. Here’s how to mitigate it.