Unravelling breast and prostate common gene signatures by Bayesian network learning