Determination of the strong vertices of doubly heavy baryons with pseudoscalar mesons in QCD