The polycrystalline plasticity due to slip and twinning during magnesium alloy forming