Functional Nanoporous Titanium Dioxide for Separation Applications: Synthesis Routes and Properties to Performance Analysis