Profinite properties of graph manifolds