Photocatalytic properties of titanium (IV) oxide thin films prepared by spin coating and spray pyrolysis