Text this: Bioinspired learning and memory in ionogels through fast response and slow relaxation dynamics of ions