Photoinduced tautomerism of 2-thiobarbituric acid studied by theoretical and experimental methods