On the response to shock of foil stress sensors in ceramics