Opium dens, curses, ghostly tombs - these sinister tales of Imperial India made Kipling's name as a writer.