Semi-supervised Learning in Network-Structured Data via Total Variation Minimization