Bishop apologises for use of the Bible to justify slavery