Consistent simulation of bromine chemistry from the marine boundary layer to the stratosphere - Part 1: Model description, sea salt aerosols and pH