AMENDED AND RESTATED CREDIT AGREEMENT dated as of June 30, 2005 among Duke Energy Corporation The Banks Party Hereto and Citibank N.A., as Administrative Agent and Bank of America, N.A., as Syndication Agent