THIRD AMENDED AND RESTATED CREDIT AGREEMENT dated as of June 30, 1998