String-net model of Turaev-Viro invariants