Electron state of sodium atoms adsorbed on tungsten and effect of electric field on adsorption energy