Determination of Jet Energy Calibration and Transverse Momentum Resolution in CMS