Analytic criteria for power exhaust in divertors due to impurity radiation