Metal-semiconductor transition in ultrathin cobalt-phthalocyanine films grown on SrTiO3 single crystal substrates