Hybrid blockchains