Work function and loss spectra of beryllium layers adsorbed on tungsten single crystals with (110) and (100) orientations