Forcing workers to return to the office has led to firms losing their best employees