Persistent Homology for Structural Characterization in Disordered Systems