The Brexit effect: how leaving the EU hit the UK