Detecting individual-level infections using sparse group-testing through graph-coupled hidden Markov models