Interconversion pathways of aldose reductase induced by thiol compounds