Measurement of deposition rate and ion energy distribution in a pulsed dc magnetron sputtering system using a retarding field analyzer with embedded quartz crystal microbalance.