Flexible nano-memory device by zinc oxide nanorod arrays