Economics of Piracy in the Americas in the 16th-18th Centuries