Phase control of photon-echo dynamics with overlapping pulse pairs