EXHIBIT 10.5 AMENDED AND RESTATED REVOLVING CREDIT AGREEMENT dated as of July 6, 2001