Obtaining compounds having alkyl radicals, or alkyl radicals substituted by hetero atoms, bound to the phthalocyanine skeleton