Field-effect memory transistors based on arrays of nanowires of a ferroelectric polymer