Production of light nuclear clusters in heavy-ion collisions