History of a hydraulic project at the service of the territory: The Naviglio di Ivrea, from Leonardo to the 19th century