A procedure for the calibration of partial safety factors for capacity models