Embedding AdS black holes in ten and eleven dimensions