Genetic algorithms for finding episodes in temporal networks