Effects of an electron beam on adsorption and desorption of ammonia on ruthenium (0001)