Tree tensor networks in ab initio quantum chemistry