Thermodynamic conditions for the nucleation of boron compounds during the cooling of steel