Firms slowly return to offices while giving employees flexibility