Electronic structure and NMR study of selected doped and functionalized graphene