Electronic‐to‐vibrational energy transfer efficiency in the O(1D)–N2 and O(1D)–CO systems