Optimized temporal pattern of brain stimulation designed by computational evolution