Text this: Resistive switching mechanisms in BiFeO3 devices with YBCO and Ag as top electrodes