Tailoring conductive filaments by electroforming polarity in memristive based TiO2 junctions