Inverse problems and genetic algorithms