The writer of Amazing Grace was also a slave ship captain