Weir and sluice