Fabrication of titania structures for photonic applications