Two-dimensional van der Waals ferroelectric field-effect transistors toward nonvolatile memory and neuromorphic computing