Pakistan's Nawaz Sharif approved as prime minister by MPs