Sizing Populations for Serial and Parallel Genetic Algorithms