EXHIBIT 10.12 AMENDED AND RESTATED CREDIT AGREEMENT Dated as of July 14, 1999