The thermal reorganization of homoazepine derivatives