Thermodynamic and optical properties of the adsorption layers of bromide ions on gold electrodes