Pion-pion scattering amplitude. III. Improving the analysis with forward dispersion relations and Roy equations