Node clustering in complex networks based on structural similarity