Transition radiation in the pre-wave zone