Spin-orbit coupling in graphene, few-layer graphene structures, graphite and role of functionalization