Understanding structure-property relationship of resistive switching oxide thin films using a conical filament model