Theoretical study of intramolecular proton transfer reactions in some thiooxalic acid derivatives