Portfolio homogeneity and systemic risk of financial networks