Longitudinal coupling impedance of an abrupt junction in a vacuum chamber