The Binance hack has thrust cryptocurrencies back into headlines - but what are they and how do they work?