"Subject to the duty to act fairly, the judge may and often must improvise. Sometimes that will involve the adaptation of entirely new procedures. The judge's procedural powers in group actions are untrammelled by the distinctive features of the adversarial system. The judge's powers are as wide as may be necessary to control the litigation fairly and efficiently."