Network-based penalized logistic regression for the identification of common gene signatures in breast and prostate cancers