SUBSCRIPTION AND REGISTRATION RIGHTS AGREEMENT