An elastoplastic constitutive description for casting magnesium alloy ZL305