Use of the genetic algorithms in the photothermal depth profiling