Graphene based field effect transistors for novel nonvolatile memories