COVID infection early in pandemic linked to higher risk of cancer death, study finds