Taiwan passes law regulating cryptocurrency firms, stablecoins