Diagnosis and prevention of cancer