Method to compute the longitudinal coupling impedance of an iris in a vacuum chamber