Design of experiments for quality diagnosis in two service industries