Heavy rains cause damages in Catalonia