Morphologic, structural, and optical characterization of sol-gel derived TiO2 thin films for memristive devices