New insights into flow over sharp-crested and pivot weirs using computational fluid dynamics