The vice-chair of the European Securities and Markets Authority has called for a ban on proof-of-work cryptocurrency mining.