Comparison between rocking analysis and kinematic analysis for the dynamic out-of-plane behavior of masonry walls