Intrinsic memory function of carbon nanotube-based ferroelectric field-effect transistor