Heavy ion irradiation induced phase transitions and their impact on the switching behavior of ferroelectric hafnia