A systematic pathway-based network approach for in silico drug repositioning