The operational mechanism of ferroelectric-driven organic resistive switches