Goal-oriented mesh adaptivity in elastoplasticity problems