Automatic calibration and uncertainty analysis of a watershed model