Former cricket captains - including Sir Alastair Cook and Mike Atherton - have urged Pakistan to ensure jailed former prime minister Imran Khan receives "humane treatment and proper medical care".