Joint consideration of grouping and loading problems in a flexible manufacturing system