Mass assembly of galaxies: Smooth accretion versus mergers