Validity and inconsistency in the analytic hierarchy process