Metric signature transitions in optical metamaterials.