Elasticity with unilateral constraints on the stress