Giving employees flexibility is all the rage. But a Harvard study says it might hurt productivity