Bayesian analysis of input uncertainty in hydrological modeling: 1. Theory