Optimal redesign of cellular flexible and reconfigurable manufacturing systems