A yellow warning for snow and ice has been issued for parts of Scotland from 6am on New Year’s Day until midnight on January 2.