process by which two galaxies join into one