Power Consumption of Static and Dynamic CMOS Circuits: A Comparative Study