Titania nanostructures preparation for gas sensor applications