Ab initio calculation of nuclear quadrupole coupling constants and NMR shieldings in SiF_4 and BF_3