Integrated and frequency-band magnitude, two alternative measures of the size of an earthquake