Resistive switching in metal–ferroelectric–metal junctions | Synapse