Mixed variational inequalities arising in elastoplasticity