Planar scattering amplitudes from Wilson loops