Default Intensities implied by CDO Spreads: Inversion Formula and Model Calibration