A correlation study of corrosion resistance and semiconductor properties for the electrochemically modified passive film of stainless steel