Astrophysical Coding: A New Approach to SETI Signals. I. Signal Design and Wave Propagation