Analysis of the effect of territorial factors on regional innovation in the state of São Paulo, Brazil