Study of anatase to rutile phase transition in nanocrystalline titania films