On the effects of cluster density and concentration on the horizontal branch morphology - The origin of the blue tails