Phase transformation induced by swift heavy ion irradiation of pure metals