The phase transition in Chung-Lu graphs