Formation of multibaryon clusters in collisions of high energy hadrons and nuclei with carbon and neon nuclei