Specifics of the thermal transformations of the wurtzite phase of boron nitride