Doppler's principle and the ballistic theory of light