Transonic shocks and free boundary problems for the full Euler equations in infinite nozzles