Schools across Scotland have shut their doors as parts of the country endure snow and below freezing temperatures.