King Charles has reached out to King Felipe VI following the "catastrophic flooding" in Spain where many have lost their lives.