Switchable diode-effect mechanism in ferroelectric BiFeO3 thin film capacitors | Synapse