It's safety first for investors around the world as they assess the significance of Britain's vote to leave the European Union.