Critical behaviour of the three-dimensional Gross-Neveu and Higgs-Yukawa models