Heavy winds are expected to batter parts of the UK later this week - with a warning the gusts could cause "danger to life".