Direct numerical simulation of flow in open rectangular ducts