Solidification orientation relationships in Al and Mg alloys