Parts of Catalonia are on red alert for torrential rain