Pro and anti-Brexit demonstrations and marches have been held across the country, as the UK counted down to leaving the European Union.