Two vacant medical buildings formerly used by Beth Israel Medical Center have been sold as part of plans to redevelop the former dormitory property into housing.