Coalescence of deuterons in relativistic heavy ion collisions.