Former Indian prime minister PV Narasimha Rao, who helped transform India's economy in the 1990s, has died, two weeks after suffering a heart attack.