The production of titania thin film waveguides by dc reactive magnetron sputtering