Work Functions of Gas‐Coated Tungsten and Silver Surfaces