Genetic optimization for radio interferometer configurations