The use of constraints for solving inverse scattering problems: physical optics and the linear sampling method