German Chancellor Angela Merkel said it was important to "remain calm and composed" following Britain's exit from the European Union.