Thickness and ion irradiation induced structural phase changes in the thin films of titanium dioxide