Functionalized graphene-based nanocomposites for smart optoelectronic applications