High-energy electron-impact excitation cross sections of hydrogenlike iron and nickel ions