Mineral-insulated flexible sensors