Optimizing WIMP directional detectors