The King will write privately to the Pope to pass on his well-wishes after the pontiff was diagnosed with lung cancer, the Press Association understands.