Relation between current‐voltage characteristics and interface states at metal‐semiconductor interfaces