Scalable Coding of Encrypted Images