Bromination of 2D materials