Quantum yield measurement in the chemical reactions of laser-excited Zn and Rb atoms with molecules