AMENDED AND RESTATED CREDIT AGREEMENT AND GUARANTY dated as of April 14, 1999