Snow and ice have swept across parts of the UK, with cold wintry conditions set to continue for days.