Yield Condition and Hardening Rule for Density Varying Materials