Work Function in Alkali and Noble Metals