A precise extraction of R=σL/σT from a global analysis of the SLAC deep inelastic e-p and e-d scattering cross sections