Retail key workers to receive legal protection in Scotland