Simultaneous Batching and Scheduling in Multistage Multiproduct Processes