Method for calibrating resonant-mass gravitational wave detectors