Inverse spectral problems for the Sturm–Liouville operator with discontinuity