Pakistan's Prime Minister Nawaz Sharif has congratulated teenage education campaigner Malala Yousafzai on winning the Nobel Peace Prize, calling her the "pride" of his country.