Tresca and von Mises yield criteria: a view from strain space