The states of bromide on titanium surface prior to pit initiation