Subsecond optically controlled domain switching in freestanding ferroelectric BaTiO3 membrane | Synapse