A Pakistani court has sentenced the country's already-imprisoned former prime minister Imran Khan and his wife to 14 and seven years in jail for corruption.