Flat bundles, von Neumann algebras and K-theory with R/Z-coefficients