Design and dynamic characteristics of a double-layer permanent-magnet buffer under intensive impact load