Interaction of proteins in solution from small-angle scattering: a perturbative approach