EXHIBIT 10.31 CREDIT AND GUARANTY AGREEMENT dated as of June 3, 1999