Nonlinear optical recording in a ferroelectric nematic liquid crystal with a giant dipole moment | Synapse