Nonlinear thermal redistribution of boron impurities in SOS device structures