Proposal of a criterion for defining the levels of service in a quantitative way: the service index