Optically tuned dimensionality crossover in photocarrier-doped SrTiO 3 : Onset of weak localization