Transition-diffracted radiation and the Cerenkov emission of x rays