Computer simulation of coloring curves in alkali halides by using a heterogeneous nucleation model