Efficient solution of liquid state integral equations using the Newton-GMRES algorithm