Significant enhancement of the upper critical field in the two-gap superconductor MgB2 by selective tuning of impurity scattering