Exploring the link between bitcoin mining and global energy markets