Two- and three-machine flow shop scheduling problems with equal sized transfer batches