The critical conditions for thermal explosion in a system heated at a constant rate