The short-term consequences of Brexit are severe – but financial disaster is not inevitable