Historians call the government ‘tone deaf’ and ‘historically illiterate’ for using images of slave ships to promote UK’s maritime sector