Spanish gambling watchdog to legalise betting exchanges and online slots