David Cameron congratulates Nawaz Sharif