Precession measurements on nuclear-excited C-, O- and F- ions recoiling in polarized iron and nickel