ATR–SEIR study of anions and water adsorbed on platinum electrode