Titanium dioxide thin films: a study of film morphology and structural changes upon photocatalytic degradation of methylene blue