Winners and losers from remote work: How firm capabilities impact productivity