Nawaz Sharif accepts Narendra Modi's invite