Incremental Analysis of Elastoplastic Beams and Frames Resting on an Elastic Half-Plane