A new genetic algorithm with diploid chromosomes by using probability decoding for adaptation to various environments