Region Compression: A New Scheme for Memory Energy Minimization in Embedded Systems