Investigations on pure and doped TiO2 and ZnO thin films and the effect of swift heavy ion irradiation on Mn doped ZnO thin films