Scalar mesons in ππ and Kπ scattering