American maritime prisoners in the Revolutionary War : the captivity of William