A Center-of-Gravity-Based Approach to Estimate Slow Power and Frequency Variations