Some mathematical comments about the analytic hierarchy process: Part I - theoretical analysis