Synthesis of some potential biologically active quinazolyl, quinolyl, isoquinolinyl and indazolyl derivatives containing alfa-hydroxy carboxylic acid moieties as substituents