The thermal effects of nucleation and crystallization of KBr solutions