Transformation-toughened cobalt-partially stabilized zirconia electrocomposite coating