Analysis of elastoplastic response of maritime structures in breaking waves using a double pendulum with a friction hinge