A penetration test to study the mechanical response of mortar in ancient masonry buildings