A general probabilistic framework for uncertainty and sensitivity analysis of deterministic models