The 3D structure of fabric and its relationship to liquid and vapor transport