The dendrite-to-composite transition in off-eutectic Sn-Pb alloys