Incremental analysis of elasto-plastic beams and frames resting on an elastic half-plane