Mushy-zone rayleigh number to describe macrosegregation and channel segregate formation during directional solidification of metallic alloys