Crossover from 3D to 2D metallic conduction in Sr2RuO4