Simulations of the nucleation of AgBr from solution