EXHIBIT 10.5 REGISTRATION RIGHTS AGREEMENT Dated as of January 22, 1997