Photoelectric work function determination for the nanostructural carbonaceous films