Optimum Synchronization of Ternary Preamble Sequences in Gaussian Noise