Effect of factors on the extraction of boron from slags