Fallout from the U.K.'s shock referendum could have big spillover effects on Europe's single currency.