Work-from-home and flexible hours office policies can seem great. But there are downsides.