Formation-Zone Effect in Transition Radiation Due to Ultrarelativistic Particles