Work Function Changes of Metals as a Consequence of Immobile Gas Adsorption