Titania-based porous nanocomposites for potential environmental applications