Shear deformation at 29% solid during solidification of magnesium alloy AZ91 and aluminium alloy A356