Ferromagnetic resonance of nickel thin films influenced by H2 and CO adsorption