Optimal detectors for WIMP and 0-ν ββ searches : Identical high-pressure xenon gas TPCs?