Riprap stability on the inner slopes of medium-height breakwaters