The transonic shock in a nozzle, 2-D and 3-D complete Euler systems