Design, synthesis and biological evaluation of thiazole- and indole-based derivatives for the treatment of type II diabetes.