Flat vector bundles, direct images and higher real analytic torsion