On Sturm–Liouville operators with discontinuity conditions inside an interval