Transformations of 1,3-Diarylthiobarbituric acids to certain fused heterocycles and studies on their biological activities