USHER: An algorithm for particle insertion in dense fluids