Neutron production in collisions between carbon nuclei of energy 2 GeV per nucleon and carbon, aluminum, copper, cadmium, and lead nuclei