Analysis of Energy Dissipation in Cache Memories