Approximate sum rule for diatomic vibronic states as a tool for the evaluation of molecular properties