Can community detection help link prediction: an empirical study