Narendra Modi appointed as India's prime minister