A distributed hydrologic model for the estimation of the design flood and for the hydraulic safety of existing dams in Sardinia (Italy)