Resonant energy dependence of the hyperpolarizability β: On the possibility of double resonance enhancement