Spanish court blocks Catalonia’s second law on referendum