Two Wiltshire villages have been named in the 10 most beautiful locations in the UK.