Dependence of two-photon absorption efficiency on the relative intensities of two modes simultaneously generated by a cw laser