A network medicine approach for identifying diagnostic and prognostic biomarkers and exploring drug repurposing in human cancer