The functionality of nitrogen in coal and derived liquids: An XPS study