(Pyrimidinyloxy)acetic acids and pyrimidineacetic acids as a novel class of aldose reductase inhibitors.