Global markets lose $2.1 trillion as Britain votes to leave EU