Synthesis and aldose reductase inhibitory activity of substituted 2(1H)-benzimidazolone- and oxindole-1-acetic acids