DECAYS OF SCALAR AND PSEUDOSCALAR HIGGS BOSONS INTO FERMIONS: TWO-LOOP QCD CORRECTIONS TO THE HIGGS-QUARK-ANTIQUARK AMPLITUDE