High winds and heavy rain have battered western parts of the United Kingdom, causing widespread travel disruption.