Link prediction based on local weighted paths for complex networks