Efficient Energy Saving Scheme for On-Chip Caches