EXHIBIT 10.1 AMENDED AND RESTATED CREDIT AGREEMENT dated as of June 30, 2004