Teachers could work a “flexible” four-day teaching week under new proposals announced by the Scottish government