Weir velocity formulation for sharp-crested rectangular weirs