Link prediction in complex networks via matrix perturbation and decomposition