Scattering and inverse scattering for a left-definite Sturm–Liouville problem