Experimental combined theoretical study on chemical interactions of graphene oxide with chitosan and its resistive-switching effect