AMENDED AND RESTATED CREDIT AGREEMENT dated as of July 15, 1998