Scheme independence of the effective Hamiltonian for b → sγ and b → sg decays