An Efficient Genetic Algorithm for Job Shop Scheduling Problems