Direct methods for limit and shakedown analysis of structures : advanced computational algorithms and material modelling