Macrosegregation and convection in the horizontal Bridgman configuration I. Dilute alloys