Functionalization of pristine graphene for the synthesis of covalent graphene–polyaniline nanocomposite