Triple-gluon and quark-gluon vertex from lattice QCD in Landau gauge