Mechanical metamaterials for sensor protection under blast conditions