Determination of Coating Deterioration with EIS: I. Basic Relationships